using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;


namespace PIM_ATE.Electrical
{
    public partial class CalibrationForm : Form
    {

        string m_lblText = "", m_sSugest = "";
        public string m_sPower = "";
        public string m_sPoints = "";
        public CalibrationForm(string lblText, string sSugest)
        {
            InitializeComponent();
            m_lblText = lblText;
            m_sSugest = sSugest;

        }

        private void CalibrationForm_Load(object sender, EventArgs e)
        {
            label1.Text = m_lblText;
            labelSugest.Text = m_sSugest;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            m_sPower = textPower.Text;
            m_sPoints = textPoints.Text;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Ignore;
        }
    }
}